//
//  HYImageView.h
//  HaiYue
//
//  Created by skyline on 2017/12/19.
//  Copyright © 2017年 skyline. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface HYImageView : UIImageView
/**
 *@pragma 默认返回NO,当返回YES时，则使用imageURL加载网络图片，会等比例展现image
 */
@property (nonatomic, assign) BOOL autoSize_imageURL;
@property (nonatomic, copy) NSString *imageURL;
- (instancetype)initWithImage:(UIImage *)image cornerRadius:(CGFloat)radius;
- (instancetype)initWithCornerRadius:(CGFloat )radius;
@end
